package com.cayden.commons.httpclient;

import org.apache.http.client.methods.RequestBuilder;

/**
 * @author: cayden
 * @Since since in 1997
 * Date: 2022/2/24 01:11
 */
public class HttpClientPostExecutor extends HttpClientExecutor{
    /**
     * 通过此方法构造出来的的就是Post方法
     *
     * @param url
     */
    public HttpClientPostExecutor(String url) {
        super(url);
    }

    @Override
    protected RequestBuilder createRequestBuilder(){
        return RequestBuilder.post();
    }
}
